How to return an [out] variant with VT = VT_RECORD without creating memory leak in ole32.dll?

Posted by picarodevosio on Stack Overflow See other posts from Stack Overflow or by picarodevosio
Published on 2010-06-13T08:20:02Z Indexed on 2010/06/13 8:22 UTC
Read the original article Hit count: 185

Filed under:
|
|
|
|

Hi,

Purify is pointing memory leak in ole32.dll while returning a Variant with VT set to VT_RECORD as OUT parameter. I am using User Marshalling by generating proxy/stub dll from IDL. Can you suggest how to avoid this memory leak?

Thanks

Picaro De Vosio

© Stack Overflow or respective owner

Related posts about com

Related posts about vc++